package com.isoftstone.merchant.dao.city;

import com.isoftstone.merchant.entity.city.City;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CityMapper {

    int deleteByPrimaryKey(String cityCode);

    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(String cityCode);

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);

    /**
     * 查询山东省全部缴费地区
     */
    List<City> getPaymentCityList() throws Exception;
}